import * as ElementPlusIconsVue from '@element-plus/icons-vue'
import {createRouter, createWebHistory} from "vue-router";
const routes = [

    {
        path: '/',
        component: () => import('@/view/home.vue')
    },
    {
        path: '/student',
        component: () => import('@/view/student.vue')

    },
    {
        path: '/dormitory',
        component: () => import('@/view/dormitory.vue')
    },
    {
      path: '/login',
      component: () => import('@/view/Login.vue')
    },
    {
        path: '/book',
        component: () => import('@/view/book.vue')
    }
]
const router = createRouter({
    history: createWebHistory(),
    routes
})
export default router